package org.mall.modules.pojo.product.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CommoditySkuAddDTO {
    private static final long serialVersionUID = 1L;
    /**市场价*/
    private Integer marketPrice;
    /**图片地址*/
    @NotEmpty
    private String picUrl;
    /**价格，单位：分*/
    @NotNull
    private Integer price;
    /**库存数量*/
    @NotNull
    private Integer quantity;
    /**商品卖点*/
    private String sellPoint;
    /**商品标题*/
    @NotEmpty
    private String title;
}
